<%@ page  language="java" import="java.util.*" contentType="text/html; charset=euc-kr" pageEncoding="EUC-KR"%>
<%@ page import="tourplanner.db.*" %>
<%
		request.setCharacterEncoding("euc-kr");
		DBMgr dbMgr = new DBMgr();
		String cityName = request.getParameter("city_name");
		cityName= new String(cityName.getBytes("8859_1"), "euc-kr");
		Vector cityList = dbMgr.getCityName(cityName);
		System.out.println(cityName);
		for(int i=0;i<cityList.size();i++){
			String[] cityInfo = new String[3];
			cityInfo = (String[])cityList.get(i);
			out.print("|"+cityInfo[1]+"_"+cityInfo[2]+"_"+cityInfo[3]);
			if(i==cityList.size()-1){
				out.print("|");
			}
		}
%>
